<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>固定定位</title>
  <style>
    body {
      height: 2000px;
    }

    img {
      width: 300px;
      position: fixed;
      top: 100px;
      right: 20px;
    }
  </style>
</head>

<body>
  <img src="../../素材/images/AI01.png" alt="">
</body>

</html>